2007-04-29 Matthias Clasen <mclasen@redhat.com>
* io-jpeg.c: Remove a pointless check from the previous
commit that added a new string.
svn path=/trunk/; revision=17714
+2007-04-29 Matthias Clasen <mclasen@redhat.com>
+
+ * io-jpeg.c: Remove a pointless check from the previous
+ commit that added a new string.
+
2007-04-28 Matthias Clasen <mclasen@redhat.com>
* io-png.c:
w = gdk_pixbuf_get_width (pixbuf);
h = gdk_pixbuf_get_height (pixbuf);
-
- /* no image data? abort */
pixels = gdk_pixbuf_get_pixels (pixbuf);
- if (pixels == NULL) {
- g_set_error (error,
- GDK_PIXBUF_ERROR,
- GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
- _("Image contains no pixels."));
- return FALSE;
- }
-
/* Allocate a small buffer to convert image data,
* and a larger buffer if doing to_callback save.
*/